package com.dingding.facde.rentsale.enums;

/**
 * @Description: 判断是否有以租代售订单状态枚举
 * @author fengshuonan
 * @date 2016年7月5日 下午6:18:29
 * @version 叮叮搭车
 * @since 2.3.0
 */
public enum IsExistOrderEnum {

	USER_ID_IS_NULL(501, "用户id为空"),
	HAVE_PLACED_ORDER(502,"存在已经下的订单"),
	NO_PLACED_ORDER(200,"不存在已经下的订单");

	private int code;

	private String message;

	private IsExistOrderEnum(int code,String message){
		this.code = code;
		this.message = message;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
}
